/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.inheritance.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.assignment2.inheritance.model.Pidgeon;
import za.ac.cput.assignment2.inheritance.model.Snake;

/**
 *
 * @author Matthew
 */
@Configurable
public class AnimalConf {
    
    @Bean (name="snake")
    public Snake snake(){
        return new Snake();
    }
    
    @Bean (name="bird")
    public Pidgeon bird(){
        return new Pidgeon();
    }
    
}
